package at.codebase.core.search;

import at.codebase.db.entities.EItem;

/**
 * @author Daniel Marth <danielmarth@gmx.at>
 */
public class ItemSearchResult {

	private EItem item;
	private String descriptionSnippet;
	private String titleSnippet;
	
	public ItemSearchResult(final String tSnippet, final String descSnippet) {
		descriptionSnippet = descSnippet;
		titleSnippet = tSnippet;
	}
	
	public void setItem(EItem i) {
		item = i;
	}

	public EItem getItem() {
		return item;
	}

	public String getDescriptionSnippet() {
		return descriptionSnippet;
	}

	public String getTitleSnippet() {
		return titleSnippet;
	}
	
}
